package com.infodms.dms.actions.claim.auditing.rule.custom.elment;

import com.infodms.dms.actions.claim.auditing.ClaimOrderVO;
import com.infodms.dms.common.Utility;
import com.infodms.dms.po.TmDealerPO;

/**
 * 索赔授权项：经销商星级
 * @author XZM
 */
public class Element13 extends AbstractElement{

	/**
	 * 经销商星级
	 */
	@Override
	public Object getElementValue(ClaimOrderVO orderVO) {
		
		String starLevel = "-1";
		TmDealerPO dealerPO = orderVO.getDealerPO();
		if(dealerPO!=null && Utility.testString(dealerPO.getDealerStar())){
			starLevel = dealerPO.getDealerStar();
		}
		
		return starLevel;
	}

}
